package win.demonlegion.disruptor.handler;

import com.lmax.disruptor.EventHandler;
import win.demonlegion.disruptor.module.LongEvent;
import win.demonlegion.util.RandomUtil;

public class LongEventHandler implements EventHandler<LongEvent> {
    @Override
    public void onEvent(LongEvent longEvent, long sequence, boolean endOfBatch) {
        System.out.println(longEvent.getValue());
    }
}
